package com.iyanbao.webapi;

public class WebAPIException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1972015036625522379L;

	public String msg;
	public int code;
	public WebAPIException(Exception e) {
		super(e);
	}

	public WebAPIException(String string) {
		super(string);
		this.msg = string;
	}
	public WebAPIException(int code,String string) {
		super(string);
		this.msg = string;
		this.code = code;
	}
}
